<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>


<h2>Rejestracja:</h2>
<center><form action="RegisterServlet" method="POST">
<table>
		<tr>
		<td><label class="panel" for="login">Email: </label></td> <td><input id="email" name="email" type="text"  /></td>
		</tr>
		<tr>
		<td><label class="panel" for="login">Hasło: </label></td> <td><input id="password" name="password" type="password" /></td>
		</tr>
		
		<tr>
		<td><label class="panel" for="login">Potwierdź Hasło: </label></td> <td><input id="confirmPassword" name="confirmPassword" type="password"  /></td>
		</tr>
		
		<tr>
		<td><label class="panel" for="login">Imię: </label></td> <td><input id="name" name="name" type="text"  /></td> 
		</tr>
		
		<tr>
		<td><label class="panel" for="login">Nazwisko: </label></td> <td><input id="surname" name="surname" type="text"  /></td> 
		</tr>
		
		<tr>
		<td><label class="panel" for="login">Telefon: </label></td> <td><input id="phone" name="phone" type="text" value="0" /></td> 
		</tr>
		
	
	
		</table> 
		
		<br>
	<input type="submit" class="styled-button-2" value="Zarejestruj"/>
		<br>
											<%
		if (session.getAttribute("warning") != null) {
	%>
	<span><%= session.getAttribute("warning") %></span> 
	<%
		session.removeAttribute("warning");
		}
	%>
</form></center>

